class Person:
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def eat(self):
        print("{}在吃饭".format(self.name))

    def run(self):
        print("{}在跑步".format(self.name))


class Student(Person):

    def __init__(self, name, age, food):
        super(Student, self).__init__(name, age)
        self.food = food

    def eat(self):
        super().eat()
        print("爱吃{}".format(self.food))

    # def eat(self):
    #     super(Student, self).eat()
    #     print("爱吃{}".format(self.food))


pass


class Employee(Person):
    pass


class Doctor(Person):
    pass


s = Student("张三", 18, "红烧肉")
s.eat()
